package com.ant.myagile

import java.util.Date;

class Team_Project {
	Project project
	Team team
	Date startDate
	Date endDate
	
	static belongsTo = [team: Team, project : Project]
	static constraints = {
		startDate blank: false
		endDate nullable: true
                team(unique: ['project'])
	}
	static mapping = {
		id column: 'team_project_Id'
		version false
	}
	
}
